function checkaccountform(){
	var check=$(".check").get();
	var msg='';
	$.each(check,function(key,value){
		$(this).attr("style","");
		if(value["value"]===''||value["value"]==null){
			art.dialog({
				title:'提示',
				content:'請填寫完整',
				lock:true,
				ok:function(){}
			});
			$(this).attr("style","border:1px solid red");
			return false;
		}else{
	    	msg='next';
		}
	});
	if(msg==='next'){
		var pwd=$("#newpwd").attr("value");
		var pwd_sure=$("#newpwdsure").attr("value");
		if(pwd!=''&&pwd_sure!=''){
			if(pwd===pwd_sure){
				msg='right';
			}else{
				art.dialog({
					title:'提示',
					content:'兩次輸入的密碼不一致',
					lock:true,
					ok:function(){}
				});
			}
		}

	}

	if(msg==='right'){
		return true;
	}else
		return false;
}